package com.meila.cms.controller;

import com.meila.cms.common.constants.AttachmentConstants;
import com.meila.cms.common.page.SystemContext;
import com.meila.cms.model.Topic;
import com.meila.cms.services.topic.ITopicService;
import com.meila.cms.thirdParty.spider.GakkiBlogProcessor;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import us.codecraft.webmagic.Spider;

import javax.inject.Inject;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by meila-x on 2015/12/22.
 */
@Controller
public class IndexController {
    private static final Logger logger = Logger.getLogger(IndexController.class);

    @RequestMapping("/")
    public String index(Model model) {
        return "redirect:/blog/tpl/web/index";
    }


}
